package com.gugee.ins.common.dal.mapper.brand;


import com.gugee.common.mapper.GugeeMapper;
import com.gugee.ins.common.model.mysql.brand.CommonBrand;
import org.apache.ibatis.annotations.Select;
import org.springframework.data.repository.query.Param;

import java.util.List;


public interface CommonBrandMapper extends GugeeMapper<CommonBrand> {


    @Select("select * from common_brand where id > #{id} order by id limit 0,#{size}")
    List<CommonBrand> findByAfterId(@Param("id") int id, @Param("size") int size);
}